/**
 */
package org.mro.grib.model.files.secondEdition.sections;

import java.nio.ByteBuffer;

import org.eclipse.emf.ecore.EObject;
import org.mro.grib.core.SectionException;
import org.mro.grib.model.files.secondEdition.dataRepresentations.IDataRepresentation;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Data Representation Section</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getStartOffset <em>Start Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getEndOffset <em>End Offset</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getLength <em>Length</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getTotalNumberOfDataPoints <em>Total Number Of Data Points</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getDataRepresentationTemplateNumber <em>Data Representation Template Number</em>}</li>
 *   <li>{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getDataRepresentationTemplate <em>Data Representation Template</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection()
 * @model annotation="http://www.eclipse.org/emf/2002/GenModel description_en='Section 5 \u2013 Data representation section' regulation_92.7.1_en='Regulations 92.3.1 and 92.3.2 shall apply.'"
 * @generated
 */
public interface DataRepresentationSection extends EObject {
	/**
	 * Returns the value of the '<em><b>Start Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Start Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Start Offset</em>' attribute.
	 * @see #setStartOffset(long)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_StartOffset()
	 * @model required="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel label_en='Start offset' description_en='Section start offset'"
	 * @generated
	 */
	long getStartOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getStartOffset <em>Start Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Start Offset</em>' attribute.
	 * @see #getStartOffset()
	 * @generated
	 */
	void setStartOffset(long value);

	/**
	 * Returns the value of the '<em><b>End Offset</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>End Offset</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>End Offset</em>' attribute.
	 * @see #setEndOffset(long)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_EndOffset()
	 * @model required="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel label_en='End offset' description_en='Section end offset'"
	 * @generated
	 */
	long getEndOffset();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getEndOffset <em>End Offset</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>End Offset</em>' attribute.
	 * @see #getEndOffset()
	 * @generated
	 */
	void setEndOffset(long value);

	/**
	 * Returns the value of the '<em><b>Length</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Length</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Length</em>' attribute.
	 * @see #setLength(int)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_Length()
	 * @model required="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel label_en='Length' description_en='Section length'"
	 * @generated
	 */
	int getLength();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getLength <em>Length</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Length</em>' attribute.
	 * @see #getLength()
	 * @generated
	 */
	void setLength(int value);

	/**
	 * Returns the value of the '<em><b>Total Number Of Data Points</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Total Number Of Data Points</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Total Number Of Data Points</em>' attribute.
	 * @see #setTotalNumberOfDataPoints(int)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_TotalNumberOfDataPoints()
	 * @model required="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel label_en='Number of data points' description_en='Number of data points where one or more values are specified in Section 7 when a bit map\r\nis present, total number of data points when a bit map is absent.'"
	 * @generated
	 */
	int getTotalNumberOfDataPoints();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getTotalNumberOfDataPoints <em>Total Number Of Data Points</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Total Number Of Data Points</em>' attribute.
	 * @see #getTotalNumberOfDataPoints()
	 * @generated
	 */
	void setTotalNumberOfDataPoints(int value);

	/**
	 * Returns the value of the '<em><b>Data Representation Template Number</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Representation Template Number</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Representation Template Number</em>' attribute.
	 * @see #setDataRepresentationTemplateNumber(short)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_DataRepresentationTemplateNumber()
	 * @model required="true"
	 *        annotation="http://www.eclipse.org/emf/2002/GenModel label_en='Data representation template number' description_en='Data representation template number (see Code table 5.0)'"
	 * @generated
	 */
	short getDataRepresentationTemplateNumber();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getDataRepresentationTemplateNumber <em>Data Representation Template Number</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Representation Template Number</em>' attribute.
	 * @see #getDataRepresentationTemplateNumber()
	 * @generated
	 */
	void setDataRepresentationTemplateNumber(short value);

	/**
	 * Returns the value of the '<em><b>Data Representation Template</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Representation Template</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Representation Template</em>' containment reference.
	 * @see #setDataRepresentationTemplate(IDataRepresentation)
	 * @see org.mro.grib.model.files.secondEdition.sections.SectionsPackage#getDataRepresentationSection_DataRepresentationTemplate()
	 * @model containment="true" required="true"
	 * @generated
	 */
	IDataRepresentation getDataRepresentationTemplate();

	/**
	 * Sets the value of the '{@link org.mro.grib.model.files.secondEdition.sections.DataRepresentationSection#getDataRepresentationTemplate <em>Data Representation Template</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Representation Template</em>' containment reference.
	 * @see #getDataRepresentationTemplate()
	 * @generated
	 */
	void setDataRepresentationTemplate(IDataRepresentation value);

	/**
	 * 
	 * @param buffer
	 * @throws SectionException 
	 */
	void initialise(ByteBuffer buffer) throws SectionException;
	
} // DataRepresentationSection
